Skip to content

chore(deps): update dependency loguru to v0.8.0 - #2893

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/loguru-0.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/loguru-0.x

Conversation

@renovate

@renovate renovate Bot commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
loguru (changelog) ==0.7.3 → ==0.8.0 age confidence

Release Notes

Delgan/loguru (loguru)

v0.8.0

Compare Source

=====================

  • Change the default log format to include the timezone offset since it produces less ambiguous logs (#&#8203;856 <https://github.com/Delgan/loguru/pull/856>, thanks @tim-x-y-z <https://github.com/tim-x-y-z>).
  • Add new logger.reinstall() method to automatically set up the logger in spawned child processes (#&#8203;818 <https://github.com/Delgan/loguru/issues/818>, thanks @monchin <https://github.com/monchin>).
  • Add support for template strings used as log messages (#&#8203;1397 <https://github.com/Delgan/loguru/issues/1397>, thanks @TurtleOrangina <https://github.com/TurtleOrangina>).
  • Add record["template"] that includes the raw, unformatted message (#&#8203;1349 <https://github.com/Delgan/loguru/issues/1349>, thanks @sentrivana <https://github.com/sentrivana>).
  • Fix incorrect microsecond value when formatting the log timestamp using {time:x} (#&#8203;1440 <https://github.com/Delgan/loguru/issues/1440>_).
  • Fix parsing of 12-hour rotation times without seconds (#&#8203;1474 <https://github.com/Delgan/loguru/issues/1474>, thanks @c-tonneslan <https://github.com/c-tonneslan>).
  • Fix a "<weekday> at <time>" rotation firing its first rotation on the creation day instead of the requested weekday when the time of day was later than the creation time (#&#8203;1484 <https://github.com/Delgan/loguru/pull/1484>, thanks @gaoflow <https://github.com/gaoflow>).
  • Fix hex color short code expansion (#&#8203;1426 <https://github.com/Delgan/loguru/issues/1426>, thanks @turkoid <https://github.com/turkoid>).
  • Fix possible regular expression denial of service (ReDoS) when parsing color markups in strings containing long sequences of backslashes (#&#8203;1537 <https://github.com/Delgan/loguru/issues/1537>_).
  • Fix possible internal error when dealing with (rare) frame objects missing a f_lineno value (#&#8203;1435 <https://github.com/Delgan/loguru/issues/1435>_).
  • Fix a regression preventing formatting of record["time"] when using zoneinfo.ZoneInfo timezones (#&#8203;1260 <https://github.com/Delgan/loguru/pull/1260>, thanks @bijlpieter <https://github.com/bijlpieter>).
  • Fix possible ValueError raised on Windows when system clock was set far ahead in the future (#&#8203;1291 <https://github.com/Delgan/loguru/issues/1291>_).
  • Fix externally raised Exception possibly causing invalid state generating repeated RuntimeError of avoided deadlock (#&#8203;1335 <https://github.com/Delgan/loguru/issues/1335>_).
  • Fix incorrect formatting of negative timezone offsets with sub-minute components (#&#8203;1500 <https://github.com/Delgan/loguru/issues/1500>_).
  • Fix incorrect formatting of negative timestamps (#&#8203;1501 <https://github.com/Delgan/loguru/issues/1501>_).
  • Fix incorrect thread and process identifiers of standard logging Handler records when using enqueue=True (#&#8203;1527 <https://github.com/Delgan/loguru/issues/1527>_).
  • Fix catch=True being ignored for exceptions raised during sink termination, such as file retention or compression triggered by logger.remove() (#&#8203;1532 <https://github.com/Delgan/loguru/issues/1532>_).
  • Fix logger.parse() decoding log files with the locale encoding instead of UTF-8 when given a path, which failed on non-ASCII logs written using the file sink default encoding on Windows (#&#8203;1540 <https://github.com/Delgan/loguru/pull/1540>_).
  • Fix formatting of truncated ExceptionGroup errors, which used a plural for a single remaining exception and could miss the closing ruler (#&#8203;1541 <https://github.com/Delgan/loguru/pull/1541>, thanks @JeremyL691 <https://github.com/JeremyL691>).
  • Respect the .level attribute of standard logging Handler used as sink, which was previously ignored (#&#8203;1409 <https://github.com/Delgan/loguru/issues/1409>_).
  • Allow the rotation argument of file sinks to accept a list of rotation conditions, any of which can trigger the rotation (#&#8203;1174 <https://github.com/Delgan/loguru/issues/1174>, thanks @CollinHeist <https://github.com/CollinHeist>).
  • Honor the NO_COLOR environment variable which disables color output by default if colorize is not provided (#&#8203;1178 <https://github.com/Delgan/loguru/issues/1178>_).
  • Honor the FORCE_COLOR environment variable which enables color output by default if colorize is not provided (#&#8203;1305 <https://github.com/Delgan/loguru/issues/1305>, thanks @nhurden <https://github.com/nhurden>).
  • Add requirement for TERM environment variable not to be "dumb" to enable colorization (#&#8203;1287 <https://github.com/Delgan/loguru/pull/1287>, thanks @snosov1 <https://github.com/snosov1>).
  • Make logger.catch() usable as an asynchronous context manager (#&#8203;1084 <https://github.com/Delgan/loguru/issues/1084>_).
  • Make logger.catch() compatible with asynchronous generators (#&#8203;1302 <https://github.com/Delgan/loguru/issues/1302>_).
  • Improve feedback for invalid format keys in logger format strings (#&#8203;1450 <https://github.com/Delgan/loguru/issues/1450>, thanks @Krishnachaitanyakc <https://github.com/Krishnachaitanyakc>).

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Signed-off-by: Renovate Bot <bot@renovateapp.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

0 participants